package com.icss.train_sys_back.mapper.statistics_manage;

import com.icss.train_sys_back.entity.statistics_manage.PopularStationEntity;
import com.icss.train_sys_back.entity.statistics_manage.PopularTrainsEntity;
import com.icss.train_sys_back.entity.statistics_manage.SalesTrendEntity;
import com.icss.train_sys_back.entity.statistics_manage.TicketStatisticsEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;



/**
 * @Author 小泽
 * @createTime 2025/10/9 9:35
 */
@Mapper
public interface TicketStatisticsManageMapper {
    //查询票务统计信息
    TicketStatisticsEntity getTicketStatistics(String startDate, String endDate, String trainType, Integer station);

    //查询当月的所有数据
    List<Map<String, Object>> salesTrendList(int monthValue);


    //热门车次统计
    List<PopularTrainsEntity> popularTrains(String startDate, String endDate);

    //热门站点统计
    List<PopularStationEntity> popularStations(String startDate, String endDate);
}
